package com.hibiscusking.basic.util;

public class CheckEmailUtil {
  public static boolean checkEmail(String email) {
    // 验证邮箱的正则表达式
    String format = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+\\.[a-zA-Z0-9_-]+$";
    return email.matches(format);
  }
}